//
//  ManagerSettingRootViewController.h
//  CPICMobileServiceApp
//
//  Created by sinosoft on 13-2-28.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ASIHTTPRequest.h"
#import "CustomNumbleKeyboardView.h"

@interface ManagerSettingRootViewController : UIViewController<UITextFieldDelegate,UITableViewDataSource,UITableViewDelegate,CustomNumberKeyBoardDelegate>
{
    NSMutableArray *arrUser;
    NSMutableArray *arrManager;
    BOOL IfDetailDisclosureButton;
    NSMutableArray *arrmanagerAccount;
    NSMutableArray *arrmanagerName;
    NSMutableArray *arrmanagerPhone;
    BOOL showProgress;
    MBProgressHUD* progress;
}
@property (strong, nonatomic) MBProgressHUD* progress;
@property(nonatomic,retain)UITableView *TableViewUser;
@property(nonatomic,retain)UITableView *TableManager;
@property(nonatomic,retain)UITextField *txtUserAccount;
@property(nonatomic,retain)UITextField *txtUserName;
@property(nonatomic,retain)UITextField *txtManagerAccount;
@property(nonatomic,retain)UITextField *txtManagerName;
@property(nonatomic,retain)UITextField *txtManagerPhone;

//用户账号、用户名称
@property(nonatomic,retain) NSString * UserAccount;
@property(nonatomic,retain) NSString * UserName;

//客户经理工号、客户经理姓名、客户经理手机号
@property(nonatomic,retain) NSString * managerAccount;
@property(nonatomic,retain) NSString * managerName;
@property(nonatomic,retain) NSString * managerPhone;

-(void)setRequest;//向太保移动平台发送请求报文
-(void)setManagerInfoRequest;//向太保移动平台发送客户经理设置信息请求报文

-(BOOL) isValidateMobile:(NSString *)mobile;//手机号码验证
@end
